package oving4ooh;

import java.io.*;

import java.util.Scanner;
public class read {
	static String map;
	static String[]maps;
	
	String loadMap(){
		return map;
	}
	public read(){
		try{
			java.io.File file = new java.io.File("src/sokoban1/maps.txt");
	
			Scanner input = new Scanner(file);
	
			while(input.hasNextLine()){
				
				map+= input.nextLine();
			}
			input.close();
			System.out.println(map);
		}
		catch (IOException e) {
			      System.out.println(e);
		} 
		maps=map.split("&");
		
	}
}
